 const config = {
  data: [],
  xField: 'borrowDate',
  yField: 'borrowCount',
  xAxis: { tickCount: 5 },
  animation: false,
  smooth: true,
  slider: {
    start: 0.1,
    end: 0.9,
    trendCfg: { isArea: true },
  },
  tooltip: {
    // showTitle:true,
    formatter: (datum) => {
      return { name: '借阅', value: datum.borrowCount };
    },
  }
};
export default config